package com.kelvem.saas.workbanch.core.base;

import lombok.Data;

@Data
public class Page<T> extends com.baomidou.mybatisplus.extension.plugins.pagination.Page<T> {

    public Page(long current, long size) {
        super(current, size);
        this.pageNum = this.getCurrent();
        this.pageSize = this.getSize();
    }

    /**
     * Page
     */
    // 当前页
    protected Long pageNum = 1L;

    // 每页数量条数
    protected Long pageSize = 10L;
}